package com.hzqy.persistence.dao.epg;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.activity.ActivityVoteUserVo;

@Repository
public class MovieAndSerialDao extends PersistenceDao<ActivityVoteUserVo, Integer> {

	public int  selectSisterVotenumCount(Map<String, Object> map) {
		Object selectOne = getSqlSession().selectOne(this.getNamespace()+"selectSisterVotenumCount", map);
		if (selectOne == null) {
			return 0;
		}
		return (int) selectOne;
	}
	public List<ActivityVoteUserVo> selectSisterVotenum(Map<String, Object> map) {
		return getSqlSession().selectList(this.getNamespace()+"selectSisterVotenum", map);
		
	}
}
